local ssft__buhui = fk.CreateSkill {
  name = "ssft__buhui",
  tags = {Skill.Compulsory },
}

ssft__buhui:addEffect("prohibit", {
  is_prohibited = function(self, from, to, card)
    return to:hasSkill(ssft__buhui.name) and card and card.trueName == "slash"
  end,
})

ssft__buhui:addEffect(fk.Damaged, {
  anim_type = "offensive",
  mute = true,
  is_delay_effect = true,
  on_cost = Util.TrueFunc,
  on_use = function(self, event, target, player, data)
    local room = player.room
    room:notifySkillInvoked(player, ssft__buhui.name)
    player:broadcastSkillInvoke(ssft__buhui.name)
  end
})

return ssft__buhui